package com.xiaoshuidi.cloud.module.finance.enums.voucher;

import lombok.Getter;

/**
	* @author dujianguang
	*/
@Getter
public enum FinanceVoucherTotalFeeTypeEnum {
		TOTAL_FEE_TYPE_0("1122.02.06.01","租金","应收账款_非关联方_公寓_租金"),
		TOTAL_FEE_TYPE_2("1122.02.06.02","管理费","应收账款_非关联方_公寓_管理费"),
		TOTAL_FEE_TYPE_3("1122.02.06.03","水费","应收账款_非关联方_公寓_水费"),
		TOTAL_FEE_TYPE_4("1122.02.06.04","电费","应收账款_非关联方_公寓_电费"),
		TOTAL_FEE_TYPE_5("1122.02.06.05","其他零星收入","应收账款_非关联方_公寓_其他");

		private String code;
		private String feeName;
		private String remark;


		FinanceVoucherTotalFeeTypeEnum(String code,String feeName, String remark) {
				this.code = code;
				this.feeName = feeName;
				this.remark = remark;
		}

		public static FinanceVoucherTotalFeeTypeEnum find(String feeName) {
				for (FinanceVoucherTotalFeeTypeEnum value : values()) {
						if (value.getFeeName().equals(feeName)) {
								return value;
						}
				}
				return null;
		}
}
